def clearTable(db, tableName):
    cursor = db.cursor();
    cursor.execute("DELETE FROM " + tableName);
    db.commit()
